home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / dodir.zip / DODIR.DOC < prev    next >
Text File  |  1991-12-31  |  4KB  |  80 lines

  1. DODIR [X]
  2.      Where x is any number of PCB type dirs that you wish to process.
  3.  
  4. Reason for this program:
  5.      I want to convert from ZIPs to ARJs by doing part in each nights
  6.      event.  Doing it by subdirs in the DLPATH.LST is a possibility but
  7.      I don't want it to run quite that long an event each night (60-meg
  8.      typical subdir) so I decided to have it do it by DIR## and also
  9.      convert the file info to the updated file extension and size.
  10.  
  11. COPYRIGHT 1991 by Ken Prevo--ALL RIGHTS RESERVED
  12. NO PERSON MAY CHARGE ANYTHING FOR THIS PROGRAM.
  13. NO PERSON MAY CHARGE _ANYTHING_ FOR THIS PROGRAM'S DISTRIBUTION.
  14. THERE IS NO CHARGE FOR THIS PROGRAM TO THE END USERS.
  15. THIS PROGRAM DOES NOT COME WITH ANY WARRANTY OF ANY KIND.
  16. THE AUTHOR IS THE GRATUITOUS VENDOR OF THIS PROGRAM, BUT RETAINS ALL COPYRIGHTS.
  17. NO WARRANTY EXPRESSED OR IMPLIED--RECOVERY LIMITED TO COST OF PROGRAM--SEE ABOVE
  18.  
  19. WARNING: We can often think we've got it set up just right then...
  20.          I suggest you make up a subdir that has a single dir in GEN
  21.          and an added subdir called FILES or whatever that has file
  22.          listed in GEN.  Point to that one file area with you DLPATH.LST
  23.          and make sure it all works for you with your program and under
  24.          your circumstances.
  25.  
  26. DODIR is a simple program to rebuild a directory converting files along the
  27. way.  It is written using BASCOM 7 and the PDQ library.  If you don't have
  28. these, the program will be a bit difficult to recompile to equivelent status.
  29.  
  30. I used the file conversion program found in AC150A.ZIP.  It is a program
  31. that makes a conversion from any file format to another.  It was laziness
  32. on my part.  Maybe I should have gone ahead and done it right as he's one of
  33. those that wants money for a kinda simple program that isn't too special
  34. even if it's very nicely written.  Anyway, sending him $10 is up to you...
  35.  
  36. If you have the compiler and library, you may wish to recompile with your own
  37. defaults.  If you don't have that luxury, you can set environment variables
  38. to control program activity.  The environment variables and defaults are:
  39.    TESTING=0 ; -1 allows processing the dir but not converting the file or
  40.              ; rewriting the new extension or size.  just a quick check to
  41.              ; see that it is what you want and also cycle through a directory
  42.              ; to provide probable validation for the rest and file existance
  43.    PCBPath=GEN\DLPATH.LST   ;standard path under \PCB
  44.    PCBArchiver=.ZIP         ;convert from ZIPs (don't forget period)
  45.    ACCmd= ACNV /J /C        ;parameter/command to pass before file name
  46.    PCBNewArc=.ARJ           ;what the new file extension will be after
  47.                             ;use a file name when running from event
  48.    PCBLOG=SCRN:             ;where to output the results/progress
  49.    BYPASS=01-31-91          ;if this string is found in the line the
  50.                             ;conversion won't take place.  You use it
  51.                             ;when you have a unique character that
  52.                             ;indicates the file is on a CD.
  53.    Note: if you have files with the default BYPASS date above and don't
  54.          want them bypassed, you'll need to set a unique string that can't
  55.          be matched in any directory. EG. BYPASS=__-__SHAZAM or a ctrlcode
  56.          or graphic character or whatever...
  57. See the program for detailed usage of environment variables.  If you are
  58. converting from ZIP to ARJ and PCB is standard filenames, you should be
  59. able to forget about all or most of the above.
  60.  
  61. Error Messages:
  62.    - Error: ## -- error while parsing revised filesize
  63.       Shouldn't happen, but...
  64.    File not found -- check environment setting or command line info
  65.       You need to establish which file isn't being found and correct
  66.       the situation before rerunning.
  67.    New DIR doesn't match old DIR size--check it out
  68.       Something may have happened.  The two original and new file should
  69.       still show an identical size.  Possible program error or
  70. -1 for filesize in the new DIR## indicates a problem.  You can rebuild
  71. the file sizes using program from my PCBMAINT.ZIP collection.
  72.  
  73. IF file sizes match, the backup is deleted so you might want to backup
  74. the DIRS before you embark on this trek.  Belt and suspender operating
  75. leads to few disapointments.
  76.  
  77. Another fine mess from: Toolkit BBS 219-696-3415 HST DUAL STD
  78.                         Ken Prevo, Proprietor
  79.  
  80.